home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / DEF / Convert / Symbols / symbol-to-velocity
Text File  |  1998-10-23  |  299b  |  11 lines

  1. symbol-to-velocity lower upper smooth-val symbol-pattern
  2.  
  3. Converts symbol-pattern to vectors, smooths it with vector-smooth and scales the values  to lower..upper range.
  4.  
  5. (initdef)
  6. (defsym a '(a b c))
  7. (defsym b '(c d e c b a))
  8.  
  9. (def-velocity synth
  10.     (symbol-to-velocity 40 110 3 (gen-trans a 5)))
  11.